
import './App.css';
import { BrowserRouter as Router,Route,Link } from 'react-router-dom';
import { Button } from 'antd-mobile'
import Home from './pages/Home/index'
import City from  './pages/City'
function App() {
  return (
    <Router>
      <div>
        <Link to='/home'>首页</Link>
        <Link to='/city'>城市</Link>
        <Route path='/home' component={Home}></Route>
        <Route path='/city' component={City}></Route>
      </div>
   </Router>
  );
}

export default App;
